home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_08_08
/
8n08122b
< prev
next >
Wrap
Text File
|
1990-07-17
|
357b
|
23 lines
#include <stdio.h>
#include <ctype.h>
#include <math.h>
void main()
{
double f;
int index, n = 75;
f = 1.0 / 10000.0 ;
f = f / 3.0;
for(index = 1; index < n; index++)
{
f = f / 10.0;
printf(" %-2d %e\n", index, f);
}
}
LISTING 2